package com.read.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.read.entity.BookChapter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName BookMapper
 * @Description TODO
 * @Author young
 * @Date 2022-11-05 12:20
 * @Version 1.0
 **/
@Mapper
public interface BookChapterMapper extends BaseMapper<BookChapter> {
    List<BookChapter> findChaptersByBookId(String bookId);

    List<BookChapter> findContentByBookId(String bookId);

}
